package com.example.wod.retrofitdemo.Bean;

/**
 * Created by Wod on 2016/1/24.
 */
public class OpenCapitalBonus {

    /**
     * code : SUCCESS
     * info : 打开成功！
     * data : {"amount":100,"hb_group":"4","volume_count":0,"gem_count":0}
     */

    private String code;
    private String info;
    /**
     * amount : 100
     * hb_group : 4
     * volume_count : 0
     * gem_count : 0
     */

    private DataEntity data;

    public void setCode(String code) {
        this.code = code;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity {
        private int amount;
        private String hb_group;
        private int volume_count;
        private int gem_count;

        public void setAmount(int amount) {
            this.amount = amount;
        }

        public void setHb_group(String hb_group) {
            this.hb_group = hb_group;
        }

        public void setVolume_count(int volume_count) {
            this.volume_count = volume_count;
        }

        public void setGem_count(int gem_count) {
            this.gem_count = gem_count;
        }

        public int getAmount() {
            return amount;
        }

        public String getHb_group() {
            return hb_group;
        }

        public int getVolume_count() {
            return volume_count;
        }

        public int getGem_count() {
            return gem_count;
        }
    }
}
